import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      "@": "/src",
    },
  },
  server: {
    port: 5173,
    proxy: {
      "/sub1-images": {
        target: "http://localhost:3000",
      },
      "/sub2-images": {
        target: "http://localhost:3001",
      },
    },
  },
});
